package com.firebird.app.kotlin.stock.ui.free_interset.contract

import com.firebird.app.kotlin.stock.base.BaseView
import com.firebird.app.kotlin.stock.data.SimpleBean
import retrofit2.Call


interface FreeIntersetContract {
    interface Model {
        fun getData(guaranteeAmt: String?, bpId: Int, times: Int, bpType: Int, singleRate: String?, bpAround: Int, bpTimeType: Int): Call<SimpleBean?>?
    }

    interface View : BaseView {
        override fun showLoading()
        override fun hideLoading()
        override fun onError(throwable: Throwable?)
        fun onSuccess(bean: SimpleBean?)
    }

    interface Presenter {
        fun getData(guaranteeAmt: String?, bpId: Int, times: Int, bpType: Int, singleRate: String?, bpAround: Int, bpTimeType: Int)
    }
}